package com.cashmama.market.api.infras.consts;

/**
 * Created by linchengyu on 17/3/1.
 */
public class RedisKeyConsts {

    /**
     * 验证码Redis Key前缀
     */
    public static final String VERIFY_CODE_REDIS_KEY_PREFIX = "VERIFYCODE_";

    /**
     * 验证码Redis Key前缀 sign 邮箱验证码
     */
    public static final String SIGN_EMAIL_VERIFY_CODE_REDIS_KEY_PREFIX = "SIGN_EMAIL_VERIFYCODE_";

    /**
     * 51绑卡Redis Key前缀
     */
    public static final String SERIAL_NO_51_BIND_REDIS_KEY_PREFIX = "BIND_SERIAL_NO_";

    /**
     * 重绑卡key
     */
    public static final String BANK_CARD_REBIND_KEY = "BANK_CARD_REBIND_{userCode}";

    /**
     * 图片验证码Redis Key前缀
     */
    public static final String H5_VERIFY_CODE_ = "QSYQ_REACT_VERIFY_CODE_";

    /**
     * 图片验证码Redis Key前缀
     */
    public static final String USER_QUOTA_KEY = "USER_QUOTA_KEY_{userCode}";

    /**
     * 用户上传通讯录保存
     */
    public static final String USER_CONTACT_POST_SAVE = "USER_CONTACT_POST_SAVE_";

    /**
     * 用户提交订单防止重复点击
     */
    public static final String USER_ORDER_SUBMIT_POST_LOCK = "USER_ORDER_SUBMIT_POST_LOCK_";

    /**
     * 用户提交订单防止重复点击
     */
    public static final String USER_ORDER_WITHDRAW_POST_LOCK = "USER_ORDER_WITHDRAW_POST_LOCK_{userCode}";

    /**
     * textlocal短信通道获取inboxId
     */
    public static final String TEXT_LOCAL_INBOX_ID_KEY = "TEXT_LOCAL_INBOX_ID_KEY";

    /**
     * 个税报告id前缀
     */
    public static final String TAX_REPORT_ID_PREFIX = "TAX_REPORT_ID_";

    /**
     * 个税报告需要手机号
     */
    public static final String TAX_REPORT_MOBILE_PREFIX = "TAX_REPORT_MOBILE_";

    /**
     * 公司列表前缀
     */
    public static final String TAX_COMPANY_LIST_PREFIX = "TAX_COMPANY_LIST_PREFIX_";

    /**
     * 运营商报告报告id前缀
     */
    public static final String CARRIER_REPORT_ID_PREFIX = "CARRIER_REPORT_ID_";
    /**
     * 处理中状态
     */
    public static final String CARRIER_REPORT_ID_LOCKED = "CARRIER_REPORT_ID_LOCKE_";
    /**
     * 运营商报告报告id前缀
     */
    public static final String CARRIER_REPORT_TASK_ID_PREFIX = "CARRIER_REPORT_TASK_ID_";
    /**
     * 用户运营商前缀
     */
    public static final String USER_CARRIER_PREFIX = "USER_CARRIER_PREFIX_";
    /**
     * 防止重复处理
     */
    public static final String USER_LOCK = "USER_LOCK_";
    /**
     * 同盾facebook授权采集 防止重复处理
     */
    public static final String USER_AUTHORIZED_COLLECT_LOCK = "USER_AUTHORIZED_COLLECT_LOCK_";

    /**
     * 请求equfix的id，半小时请求一次
     */
    public static final String EQUFIX_ID = "EQUFIX_ID";

    /**
     * 资金方 NBFC name 缓存
     */
    public static final String PAY_FUNDSIDE_NBFC_TRADENO = "PAY_FUNDSIDE_NBFC_TRADENO_NEW_{tradeNo}";

    /**
     * 新用户允许下单数量
     */
    public static final String NEW_USER_ORDERS_NUMBER = "NEW_USER_ORDERS_NUMBER_{merchantCode}_{day}";
    public static final String OLD_USER_ORDERS_NUMBER = "OLD_USER_ORDERS_NUMBER_{merchantCode}_{day}";

    /**
     * 报告
     */
    public static final String HIGHMARK_STAGE1_KEY = "HIGHMARK_STAGE1_KEY_{orderId}";

    /**
     * 报告
     */
    public static final String HIGHMARK_STAGE1_USERCODE_KEY = "HIGHMARK_STAGE1_USERCODE_KEY_{userCode}";

    /**
     * 报告
     */
    public static final String HIGHMARK_STAGE2_KEY = "HIGHMARK_STAGE2_KEY_{orderId}";

    /**
     * 报告
     */
    public static final String HIGHMARK_STAGE3_KEY = "HIGHMARK_STAGE3_KEY_{orderId}";

    public static final String ADVANCEAI_TRANSACTIONID_KEY = "ADVANCEAI_TRANSACTIONID_{userCode}_{aadhaarNo}";

    public static final String ADVANCEAI_CACHA_RESULT_KEY = "ADVANCEAI_CACHA_RESULT_{transactionId}_{otp}";
    /**
     * 类目缓存key
     */
    public static final String ALL_CATEGORY_CACHE_KEY = "ALL_CATEGORY_CACHE_KEY";
    /**
     * algo360 token
     */
    public static final String ALOGO_360_ACCESS_TOKEN_KEY = "ALOGO_360_ACCESS_TOKEN_KEY";
    /**
     * sms 报告
     */
    public static final String SMS_REPORT_KEY = "SMS_REPORT_KEY_{userCode}";

    /**
     * app缓存
     */
    public static final String APPVO_CACHA = "APPVO_CACHA_{appCode}";

    public static final String IS_QUOTA_FULL = "IS_QUOTA_FULL_{merchantCode}_{mobile}";

    public static final String IS_NEW_USER_USER_CODE = "NEW_USER_ORDERS_NUMBER_{userCode}_{merchantCode}";

    public static final String USER_DAILY_DATA_LOCK = "USER_DAILY_DATA_LOCK_{userCode}";

    /**
     * pan card orc 防并发
     */
    public static final String OCR_PAN_LOCK = "DHANADHAN_OCR_PAN_LOCK_{userCode}";

    /**
     * 权益轮播提示
     */
    public static final String USER_TIPS_SCROLLER_DDD_KEY = "USER_TIPS_SCROLLER_DDD_KEY";
    /**
     * 用户权益配置信息
     */
    public static final String USER_LEVEL_CONFIG_KEY = "USER_LEVEL_CONFIG_KEY";
    /**
     * 每日打卡
     */
    public static final String USER_CHECK_IN_ONE_DAY = "USER_CHECK_IN_ONE_DAY1_{userCode}";
    /**
     * 推送第一轮风控
     */
    public static final String USER_FIRST_PUSH_RISK_KEY = "USER_FIRST_PUSH_RISK_KEY_{userCode}";

    /**
     * 根据IP限定次数
     */
    public static final String FEEDBACK_IP_LOCK = "FEEDBACK_IP_LOCK_{ip}";

    /**
     * advance licence key
     */
    public static final String ADVANCE_LICENCE_KEY = "ADVANCE_LICENCE_KEY11";

    /**
     * 撞库key
     */
    public static final String COLLISION_DATA_KEY = "COLLISION_DATA_KEY_{mobile}_{merchantCode}";

}
